package com.lagou.rocketmq.dao;

import com.lagou.rocketmq.model.Orders;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @ClassName OrderDao
 * @Description TODO
 * @Author xsq
 * @Date 2020/11/25 15:47
 **/
@Repository
public interface OrderDao extends JpaRepository<Orders, Long> {

    /**
     * 获取订单状态
     *
     * @return
     */
    Orders getOrderByOrderId(String orderId);
}
